package com.hison.tandainbao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hison.tandainbao.entiy.pojo.domain.TbLocalevent;
import com.hison.tandainbao.entiy.pojo.dto.TbLocaleventDto;
import com.hison.tandainbao.response.ResponseResult;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

/**
* @author hison
* @description 针对表【tb_localevent】的数据库操作Service
* @createDate 2024-03-29 22:54:55
*/
public interface TbLocaleventService extends IService<TbLocalevent> {

    ResponseResult getAllEvents();

    ResponseResult add(TbLocaleventDto tbLocaleventDto);

    ResponseResult saveDraftEvent(TbLocalevent tbLocalevent);

    ResponseResult updateEventInfo(TbLocaleventDto tbLocaleventDto);

    ResponseResult getEventInfoByUserName(String userName);

    ResponseResult putCulture(Integer eventId);

    ResponseResult delete(Integer eventId);

    ResponseResult getMyEvent();

    ResponseResult getMySaveDraftEvent();

    ResponseResult checkLocalEvent(int eventId, String status);

    ResponseResult getAllEvent( Integer current,  Integer total);

    ResponseResult deleteEventsByAdmin(Integer eventId);
}
